package com.ynny.example05;

public class MilkTeaTest {
    public static void main(String[] args) {
        PearlMilkTea pearlMilkTea = new PearlMilkTea();
        pearlMilkTea.makeMilkTea();//制作奶茶
        pearlMilkTea.printName("珍珠奶茶");//获取奶茶名称
        CoconutMilkTea coconutMilkTea = new CoconutMilkTea();
        coconutMilkTea.makeMilkTea();//制作奶茶
        coconutMilkTea.printName("椰果奶茶");//获取奶茶名称
    }
}
